/*
 * Mark O'Meara
 * 08332240
 * CS4032 - Dist. Sys.
 * Due: 19/12/12
 */

import java.rmi.Naming;


public class AuthenticationServer {

	public static void main(String[] args) {
		try{
			Naming.rebind("AuthServ", new AuthenticationService());
			System.out.println("AuthenticationServer is ready . . .");
		}catch(Exception e){
			System.out.println("AuthenticationServer failed: " + e);
		}

	}

}